Skip to content

Tensor datatostring #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 26 commits into
base: master
Choose a base branch
from

Conversation

JimClarke5
Copy link

Updated per comments in the PR.

This new form creates TensorPrinter.

Options include:

/** The max width of a single line */
  public Integer maxWidth;

  /** The element separator character, default is {@link #DEFAULT_SEPARATOR} */
  public char separator = DEFAULT_SEPARATOR;

  /**
   * the number of digits after the decimal point for floating point numbers, null means to use
   * the default format
   */
  public Integer numDecimals;

  /** The number of spaces for each indent space */
  public Integer indentSize;

  /**
   * Indicator whether a trailing separator is present at the end of an inner set, default is
   * false.
   */
  public boolean trailingSeparator;

  /** The set of characters that enclose sets, default is {@link Enclosure#BRACKETS} */
  public Enclosure enclosure = DEFAULT_ENCLOSURE;

JimClarke5 and others added 26 commits October 8, 2020 13:19
Sync with master tensorflow on upstream
Merge main  branch to local branch
Update after losses merge
Pull latest tensorflow master
Resync with origin/master
Sync with tensorflow/java master
* Added support for Tensors.toString(RawTensor).
* Test multidimensional tensor, RawTensor.
Data type tests, wrap strings in quotes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants